require("../../../../@babel/runtime/helpers/Arrayincludes"), (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/home-price/index" ], {
    "1a54": function(e, i, t) {
        t.r(i);
        var n = t("b4c1"), o = t.n(n);
        for (var a in n) [ "default" ].indexOf(a) < 0 && function(e) {
            t.d(i, e, function() {
                return n[e];
            });
        }(a);
        i.default = o.a;
    },
    5091: function(e, i, t) {
        var n = t("c85e");
        t.n(n).a;
    },
    "5bf7": function(e, i, t) {
        t.r(i);
        var n = t("cacf"), o = t("1a54");
        for (var a in o) [ "default" ].indexOf(a) < 0 && function(e) {
            t.d(i, e, function() {
                return o[e];
            });
        }(a);
        t("5091");
        var c = t("f0c5"), l = Object(c.a)(o.default, n.b, n.c, !1, null, "7d8ea5ba", null, !1, n.a, void 0);
        i.default = l.exports;
    },
    b4c1: function(e, i, t) {
        (function(e) {
            var n = t("4ea4").default;
            Object.defineProperty(i, "__esModule", {
                value: !0
            }), i.default = void 0;
            var o, a = n(t("9523")), c = n(t("6374")), l = n(t("ded3")), u = t("fd0e"), r = t("48b8"), d = t("3be3"), s = n(t("9dcd")), v = t("5bfa"), f = t("6c0e"), p = t("ed34"), m = t("19f1"), h = t("86e8"), g = t("5125"), P = t("665c"), _ = t("05dc"), I = n(t("0613")), C = t("cee8"), T = t("737a"), y = t("8f12"), b = t("f00d"), x = t("0d12");
            !function(e) {
                e[e.priceExpo = 1] = "priceExpo", e[e.priceClick = 2] = "priceClick", e[e.detailClick = 3] = "detailClick";
            }(o || (o = {}));
            var S = {};
            S.props = {
                calculating: {
                    type: Boolean,
                    default: !0
                },
                calculateFail: {
                    type: Boolean,
                    default: !1
                },
                odInfo: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                },
                bigCarConfig: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                },
                defaultBargainType: {
                    type: Object,
                    default: function() {
                        return {};
                    }
                },
                touchGround: {
                    type: Boolean,
                    default: !1
                },
                isHomePriceSilent: {
                    type: Boolean,
                    default: !1
                }
            }, S.setup = function(i, t) {
                var n = {
                    priceBoxPadding: 24,
                    multiPriceItemHeight: 136,
                    calculatingHeight: 86,
                    footerTipsHeight: 36,
                    footerTipsMarginTop: 8,
                    doublePriceItemHeight: 212,
                    bargainTypesHeight: 76,
                    priceBoxMargin: -20
                }, S = i, w = t.emit, E = (0, u.reactive)({
                    startVal: 0,
                    endVal: 0,
                    priceActive: !1,
                    checkDiscussItem: {},
                    hasNotExpoPriceChooseType: !0,
                    isPassivity: !1
                }), O = 0, k = {
                    pricePlan: 0
                }, N = !1, F = (0, P.useState)(), R = F.selectedHomeBigVehicle, A = F.selectedBigVehicleStd, D = F.useTime, B = F.homePriceItem, U = F.quotationPrice, M = F.homeCheckedPriceItemId, H = F.bargainTypeInfo, Q = F.isShowModel, L = (0, 
                P.useGetters)(), j = L.bigVehicleModule, V = L.commonStatisticsState, Y = L.isBigVehicle, W = L.selectedVehicleStdAll, G = L.withoutCompleteOrderAndSmallCarCache, q = L.selectedVehicle, $ = L.frameCity, J = L.isLogined, K = L.isShowRefrigeratedTime, X = L.isUserQuotationNoBid, z = (0, 
                u.computed)(function() {
                    return J.value ? "计价繁忙，请刷新重试" : "登录已过期，请重新登录";
                }), Z = (0, u.computed)(function() {
                    return J.value ? "重试" : "登录";
                }), ee = (0, u.computed)(function() {
                    var e = 2 * n.priceBoxPadding, i = n.calculatingHeight;
                    return S.calculating ? (O || (O = i + e), O) : (ie.value ? i = n.multiPriceItemHeight * ce.value.length : be.value && (i = n.doublePriceItemHeight), 
                    ge.value && (i += n.footerTipsHeight + n.footerTipsMarginTop), ke.value && (i += 0), 
                    O = i += e, i);
                }), ie = (0, u.computed)(function() {
                    return (0, g.usePricePlan)().hitTriplePrice;
                }), te = (0, u.computed)(function() {
                    var e;
                    return Se.value && !U.value ? (0, r.div)((null === (e = xe.value) || void 0 === e ? void 0 : e.suggestPriceFen) || 0, 100) : (0, 
                    r.div)(U.value, 100);
                }), ne = (0, u.computed)(function() {
                    return function() {
                        var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : k, i = e.pricePlan, t = e.disableInfo, n = void 0 === t ? {} : t, o = e.suggestPriceInfo, a = void 0 === o ? {} : o, c = n, l = "";
                        if (i === v.PricePlan.userQuotation) {
                            var u = (null == a ? void 0 : a.suggestPriceFen) || 0;
                            l = c ? "议价用车（不可用）" : u ? "议价用车-有推荐价" : "议价用车-无推荐价";
                        } else l = i === v.PricePlan.sameRoadPrice ? c ? "顺路车（不可用）" : "顺路车（可用）" : "快车";
                        return l;
                    };
                }), oe = (0, u.computed)(function() {
                    var e, i = (k || {}).pricePlan;
                    return e = i === v.PricePlan.userQuotation ? "用户出价" : i === v.PricePlan.sameRoadPrice ? "平台定价" : "无", 
                    {
                        car_type: ne.value(),
                        price_calculate_id: b.priceCalculateId.value,
                        price_type: e
                    };
                }), ae = (0, u.computed)(function() {
                    var e;
                    return (null === (e = b.allCalculatInfo.value) || void 0 === e ? void 0 : e.userQuotationItem) || {};
                }), ce = (0, u.computed)(function() {
                    var e = ((null === b.allCalculatInfo || void 0 === b.allCalculatInfo ? void 0 : b.allCalculatInfo.value) || {}).priceConditions;
                    if (!e) return [];
                    var i = e.map(function(e, i) {
                        var t, n, o, a, c, u, r, d, f, p = v.PricePlanTuples.userQuotation.includes(null == e ? void 0 : e.pricePlan), m = v.PricePlanTuples.sameRoad.includes(null == e ? void 0 : e.pricePlan), P = p ? 0 : new s.default((null === (t = e.priceInfo) || void 0 === t ? void 0 : t.finalPrice) || 0), _ = {
                            tips: null === (n = (0, g.useShowInfo)({
                                index: i,
                                code: h.ShowTextsCode.PRICE_DESC
                            })) || void 0 === n || null === (o = n.text) || void 0 === o ? void 0 : o.replace("{price}", "".concat(new s.default(e.couponInfo.bestCouponPrice).div(100)) || "")
                        }, I = {
                            tips: he()
                        }, C = {
                            tips: Ke(i),
                            type: "peak"
                        }, T = {
                            tips: "",
                            type: "area"
                        };
                        return 1 !== (null === (a = e.odInfo) || void 0 === a ? void 0 : a.odFlag) && 2 !== (null === (c = e.odInfo) || void 0 === c ? void 0 : c.odFlag) || (T.tips = e.odInfo.odUserSlogan || ""), 
                        f = [ C, {
                            tips: me(i),
                            type: "area"
                        }, T, I, _ ].filter(function(e) {
                            return e.tips;
                        }).splice(-2), (0, l.default)((0, l.default)({}, e), {}, {
                            tipList: f,
                            title: (null === (u = (0, g.useShowInfo)({
                                index: i,
                                code: h.ShowTextsCode.CATEGORY_NAME
                            })) || void 0 === u ? void 0 : u.text) || "",
                            subTitle: (null === (r = (0, g.useShowInfo)({
                                index: i,
                                code: h.ShowTextsCode.CATEGORY_DESC
                            })) || void 0 === r ? void 0 : r.text) || "",
                            prefix: (null === (d = (0, g.useShowInfo)({
                                index: i,
                                code: h.ShowTextsCode.PRICE_TAG
                            })) || void 0 === d ? void 0 : d.text) || "",
                            int: Math.floor(P / 100),
                            digit: P && P.div(100).mod(1).toString().slice(1),
                            type: p ? "input" : "normal",
                            id: null == e ? void 0 : e.pricePlan,
                            tag: (0, g.useShowInfo)({
                                index: i,
                                key: "tag"
                            }),
                            sequenceTag: p ? "USER_QUOTATION" : m ? "SAME_ROAD" : "NORMAL"
                        });
                    }), t = i.map(function(e) {
                        return e.id;
                    }), n = function() {
                        var e = i.findIndex(function(e) {
                            return "NORMAL" === e.sequenceTag;
                        });
                        De(e > -1 ? i[e] : i[0]);
                    };
                    if (M.value && t.includes(M.value)) {
                        var o, a = i.find(function(e) {
                            return e.id === M.value;
                        });
                        null != a && null !== (o = a.disableInfo) && void 0 !== o && o.isDisabled ? n() : De(a);
                    } else (function(e) {
                        var i, t = (null === (i = e.find) || void 0 === i ? void 0 : i.call(e, function(e) {
                            return !!e.isDefaultSelected;
                        })) || {};
                        return !(0, r.isEmpty)(t) && (De(t), !0);
                    })(i) || n();
                    return i;
                }), le = (0, u.computed)(function() {
                    return function(e) {
                        var i = 1 === e ? b.calcPriceInfoSecond.value : b.calcPriceInfo.value, t = "";
                        if (i.surcharge && i.discount && !be.value) t = "共抵" + (0, r.fenToYuan)((0, r.sub)(i.original, i.total)) + "元"; else if (i.surcharge && !be.value) t = "预约立减" + (0, 
                        r.fenToYuan)(i.surcharge) + "元"; else if (i.discount) t = "券-" + (0, r.fenToYuan)(i.discount) + "元"; else if (i.platFormDiscount) {
                            var n = i.platFormTxt.split(";"), o = n[0], a = n.length > 1 ? n[1] : "";
                            t = "".concat(o).concat((0, r.fenToYuan)(i.platFormDiscount), "元").concat(a);
                        }
                        return t;
                    };
                }), ue = (0, u.computed)(function() {
                    var e, i, t, n, o = b.calcPriceInfo.value, a = {
                        tips: null === (e = (0, g.useShowInfo)({
                            code: h.ShowTextsCode.SINGLE_PRICE_COUPON
                        })) || void 0 === e || null === (i = e.text) || void 0 === i ? void 0 : i.replace("{price}", "".concat(new s.default(o.bestCouponPrice).div(100)) || "")
                    }, c = {
                        tips: he()
                    }, l = {
                        tips: Ke(),
                        type: "peak"
                    }, u = {
                        tips: "",
                        type: "area"
                    };
                    return 1 !== (null === (t = S.odInfo) || void 0 === t ? void 0 : t.odFlag) && 2 !== (null === (n = S.odInfo) || void 0 === n ? void 0 : n.odFlag) || (u.tips = S.odInfo.odUserSlogan || ""), 
                    [ l, {
                        tips: me(),
                        type: "area"
                    }, u, c, a ].filter(function(e) {
                        return e.tips;
                    }).splice(-3);
                }), re = (0, u.computed)(function() {
                    var e, i, t = "";
                    return 1 !== (null === (e = S.odInfo) || void 0 === e ? void 0 : e.odFlag) && 2 !== (null === (i = S.odInfo) || void 0 === i ? void 0 : i.odFlag) || (t = S.odInfo.odUserSlogan || ""), 
                    t;
                }), de = ((0, u.computed)(function() {
                    var e;
                    return 1 === (null === (e = S.odInfo) || void 0 === e ? void 0 : e.odFlag) ? "up" : "down";
                }), (0, u.computed)(function() {
                    var e;
                    return (0, r.fenToYuan)((null === (e = b.calcPriceInfo.value) || void 0 === e ? void 0 : e.total) || 0);
                })), se = (0, u.computed)(function() {
                    var e;
                    return (0, r.fenToYuan)((null === (e = b.calcPriceInfoSecond.value) || void 0 === e ? void 0 : e.total) || 0);
                }), ve = (0, u.computed)(function() {
                    var e;
                    return (0, r.fenToYuan)((null === (e = b.calcPriceInfo.value) || void 0 === e ? void 0 : e.original) || 0);
                }), fe = (0, u.computed)(function() {
                    return function(e) {
                        var i, t = 1 === e ? b.calcPriceInfoSecond.value : b.calcPriceInfo.value, n = (null == t || null === (i = t.onePriceInfo) || void 0 === i ? void 0 : i.reserve) || 0;
                        return (0, r.div)(n, 3600);
                    };
                }), pe = (0, u.computed)(function() {
                    return {
                        price: de.value,
                        secondPrice: se.value
                    };
                });
                function me() {
                    var e, i = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
                    return (null === (e = (0, g.useShowInfo)({
                        index: i,
                        code: h.ShowTextsCode.AREA_DISCOUNT_INFO
                    })) || void 0 === e ? void 0 : e.text) || "";
                }
                function he() {
                    var e, i = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
                    return (null === (e = (0, g.useShowInfo)({
                        index: i,
                        code: h.ShowTextsCode.FULFILL_ORDER_BENEFIT
                    })) || void 0 === e ? void 0 : e.text) || "";
                }
                var ge = (0, u.computed)(function() {
                    return Ae.value && (le.value(0) || re.value || Ke() || me()) && !be.value && !ie.value;
                }), Pe = (0, u.computed)(function() {
                    return D.value && !(0, d.checkUseTimeIsNow)();
                }), _e = (0, u.computed)(function() {
                    var e;
                    return null === (e = S.bigCarConfig) || void 0 === e ? void 0 : e.is_std_required;
                }), Ie = (0, u.computed)(function() {
                    var e, i, t = (null === (e = R.value) || void 0 === e || null === (i = e.vehicle_std_item) || void 0 === i ? void 0 : i.filter(function(e) {
                        return !!e.is_checked;
                    })) || [];
                    return t.every(function(e) {
                        return !!e.img;
                    }) ? t : [];
                }), Ce = (0, u.computed)(function() {
                    return (0, g.usePricePlan)().hitOnePrice;
                }), Te = (0, u.computed)(function() {
                    return (0, g.useShowInfo)({
                        index: 0,
                        code: h.ShowTextsCode.PRICE_TAG
                    }).text || "";
                }), ye = (0, u.computed)(function() {
                    var e, i, t, n = null === (e = b.allCalculatInfo.value) || void 0 === e || null === (i = e.priceConditions) || void 0 === i ? void 0 : i.findIndex(function(e) {
                        return (null == e ? void 0 : e.pricePlan) === v.PricePlan.userQuotation;
                    });
                    return we.value("index"), (null === (t = (0, g.useShowInfo)({
                        index: n,
                        code: h.ShowTextsCode.NO_OFFER_ORDER_INPUT_HINT
                    })) || void 0 === t ? void 0 : t.text) || "请出价";
                }), be = (0, u.computed)(function() {
                    return (0, g.usePricePlan)().hitDoubleOnePrice;
                }), xe = (0, u.computed)(function() {
                    var e;
                    return (null === (e = we.value()) || void 0 === e ? void 0 : e.suggestPriceInfo) || {};
                }), Se = (0, u.computed)(function() {
                    return !(0, r.isEmpty)(xe.value);
                }), we = (0, u.computed)(function() {
                    return function() {
                        var e, i, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "info", n = null === (e = b.allCalculatInfo.value) || void 0 === e || null === (i = e.priceConditions) || void 0 === i ? void 0 : i["info" === t ? "find" : "findIndex"](function(e) {
                            return (null == e ? void 0 : e.pricePlan) === v.PricePlan.userQuotation;
                        });
                        return {
                            info: n || {},
                            index: n
                        }[t];
                    };
                }), Ee = (0, u.computed)(function() {
                    var e;
                    return Number(null === (e = xe.value) || void 0 === e ? void 0 : e.popupOrExposed);
                }), Oe = (0, u.computed)(function() {
                    var e, i;
                    return (null === (e = b.allCalculatInfo.value) || void 0 === e || null === (i = e.context) || void 0 === i ? void 0 : i.bargainTypes) || [];
                }), ke = (0, u.computed)(function() {
                    var e;
                    return 2 === Ee.value && (null === (e = Oe.value) || void 0 === e ? void 0 : e.length) > 1 && (0, 
                    g.useCheckIsSelectedUserQuotation)();
                }), Ne = (0, u.computed)(function() {
                    var e;
                    return 88 * (null === (e = Oe.value) || void 0 === e ? void 0 : e.findIndex(function(e) {
                        return e.negotiateRuleId === E.checkDiscussItem.negotiateRuleId;
                    }));
                }), Fe = (0, u.computed)(function() {
                    return 1 === Ee.value && !Q.value && (0, g.useCheckIsSelectedUserQuotation)();
                }), Re = (0, u.computed)(function() {
                    return {
                        exposedBargainTypes: ke.value,
                        hasNotExpoPriceChooseType: E.hasNotExpoPriceChooseType
                    };
                }), Ae = (0, u.computed)(function() {
                    return !S.calculateFail && !S.calculating;
                });
                function De() {
                    var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
                    k = e, I.default.commit("setState", {
                        homePriceItem: e || {},
                        homeCheckedPriceItemId: null == e ? void 0 : e.id
                    }), Be(e);
                }
                function Be(e) {
                    (0, _.statistics)("homepage_price_select", (0, l.default)((0, l.default)({}, V.value), {}, {
                        car_type: ne.value(e),
                        price_calculate_id: (null === b.priceCalculateId || void 0 === b.priceCalculateId ? void 0 : b.priceCalculateId.value) || ""
                    }));
                }
                function Ue(e, i) {
                    w("user-price", {
                        input: te.value || "",
                        bargainTypeInfo: H.value,
                        min: (0, r.div)(ae.value.priceMin || 0, 100),
                        max: (0, r.div)(ae.value.priceMax || 0, 100),
                        isPassivity: E.isPassivity,
                        cb: function(t) {
                            var n = t.input, o = t.bargainTypeInfo;
                            De(e), ke.value && (E.checkDiscussItem = o), (0, g.useBargainTypeInfo)(o), (0, g.useQuotationPrice)(n, !0), 
                            Ve({
                                silent: !0
                            }), null == i || i();
                        }
                    });
                }
                function Me() {
                    S.calculating || S.calculateFail ? (0, f.watchdogPercentFail)(f.WatchdogPercent.homeUseCarNow, {
                        type: "subAllScribe",
                        reason: S.calculating ? "calculating" : "calculateFail"
                    }) : (He(), $e(), N ? (0, f.watchdogPercentFail)(f.WatchdogPercent.homeUseCarNow, {
                        type: "goOrder",
                        reason: "bigTabCheckNoHalf"
                    }) : (Ge(), We()));
                }
                function He() {
                    (0, f.watchdogPercent)(f.WatchdogPercent.homeUseCarNow, {
                        vehicle_attr: Number(Y.value),
                        service_tab: Number(j.value),
                        city_name: $.value.city_name,
                        vehicle_name: q.value.name
                    });
                }
                function Qe(e) {
                    if (S.calculating || S.calculateFail) (0, f.watchdogPercentFail)(f.WatchdogPercent.homeReserve, {
                        type: "subAllScribe",
                        reason: S.calculating ? "calculating" : "calculateFail"
                    }); else {
                        if (Y.value) return je(Pe.value ? 2 : 0);
                        Le();
                        var i = -1;
                        1 === e && (i = 4), 2 === e && (i = 5), We(1), Ye(i);
                    }
                }
                function Le() {
                    (0, f.watchdogPercent)(f.WatchdogPercent.homeReserve, {
                        vehicle_attr: Number(Y.value),
                        service_tab: Number(j.value),
                        city_name: $.value.city_name,
                        vehicle_name: q.value.name
                    });
                }
                function je(e) {
                    if (Le(), $e(), N) (0, f.watchdogPercentFail)(f.WatchdogPercent.homeReserve, {
                        type: "subscribe",
                        reason: "bigTabCheckNoHalf"
                    }); else if (S.calculating || S.calculateFail) (0, f.watchdogPercentFail)(f.WatchdogPercent.homeReserve, {
                        type: "subscribe",
                        reason: S.calculating ? "calculating" : "calculateFail"
                    }); else {
                        var i = 1;
                        be.value && E.priceActive && (i = 2), 1 !== e && (i = 3), 2 === e && (i = 5), Ye(i), 
                        1 === e ? function() {
                            var e = E.priceActive ? se.value : de.value, i = fe.value(0), t = "预约".concat(i, "小时").concat(E.priceActive ? "后" : "内");
                            (0, _.statistics)("select_one_price", (0, l.default)({
                                one_price_type: t,
                                order_amount: e
                            }, V.value));
                        }() : We(1), function(e) {
                            1 === e && Je();
                        }(e);
                    }
                }
                function Ve() {
                    var i = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
                    if (!J.value) return e.navigateTo({
                        url: "/pages/login/index"
                    });
                    w("refresh", i);
                }
                function Ye(e) {
                    var i = function() {
                        var i;
                        w("select-car-time", e);
                        (0, _.statistics)("homepage_time_click", (0, l.default)((0, l.default)({}, V.value), {}, {
                            is_select_sameroad: Number((null === (i = B.value) || void 0 === i ? void 0 : i.pricePlan) === v.PricePlan.userQuotation),
                            button_source: "首页",
                            is_denoise: I.default.getters.isDenoiseNewCache
                        }));
                    };
                    Xe(i).then(function(e) {
                        if ("goOn" === e) return i();
                    });
                }
                function We() {
                    var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, i = B.value || {}, t = i.pricePlan, n = i.tag, o = i.hitNewOnePrice, a = (null == n ? void 0 : n.name) || "无";
                    o ? a = "新一口价" : t === v.PricePlan.onePrice && (a = "一口价"), (0, _.statistics)("homepage_usecar_click", (0, 
                    l.default)((0, l.default)((0, l.default)({
                        order_type: 1 === e ? "预约用车" : "现在用车",
                        is_one_price: Ce.value ? "是" : "否",
                        is_ontheway_order: t === v.PricePlan.sameRoadPrice ? 1 : 0,
                        vehicle_special_select: W.value.join(",") || "无"
                    }, V.value), oe.value), {}, {
                        tag_name: a
                    }));
                }
                function Ge() {
                    if (S.calculating || S.calculateFail || S.isHomePriceSilent) (0, f.watchdogPercentFail)(f.WatchdogPercent.homeUseCarNow, {
                        type: "goConfirmOrder",
                        reason: S.calculating ? "calculating" : "calculateFail"
                    }); else {
                        var e = function() {
                            var e, i;
                            I.default.commit("setState", {
                                period: [ 0, 0 ],
                                periodItem: {}
                            }), (0, m.jumpConfirmOrder)({
                                pricePlan: null === (e = B.value) || void 0 === e ? void 0 : e.pricePlan,
                                orderSourceScene: v.OrderSourceScene.HOME_PAGE,
                                commodityInfoCode: (null === (i = B.value.commodityInfo) || void 0 === i ? void 0 : i.code) || "",
                                fromHome: 1
                            }), (0, f.watchdogPercentSuccess)(f.WatchdogPercent.homeUseCarNow);
                        };
                        Xe(e).then(function(i) {
                            if ("goOn" === i) return (0, g.useQuotationPrice)(te.value), (0, g.useBargainTypeInfo)({}), 
                            e();
                        });
                    }
                }
                function qe() {
                    var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : o.priceExpo, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
                    (0, _.statistics)({
                        1: "homepage_pricetype_expo",
                        2: "homepage_pricetype_click",
                        3: "homepage_fee_detail"
                    }[e], (0, l.default)((0, l.default)((0, l.default)({}, V.value), oe.value), i));
                }
                function $e() {
                    var e;
                    if (N = !1, j.value && 0 !== _e.value) {
                        var i = (null === (e = R.value) || void 0 === e ? void 0 : e.vehicle_std_item) || [];
                        if (i.length > 0) {
                            var t, n = Ie.value.map(function(e) {
                                return e.short_name;
                            }), o = !1, a = (0, c.default)(i);
                            try {
                                for (a.s(); !(t = a.n()).done; ) {
                                    var l, u = t.value, r = (0, c.default)(n);
                                    try {
                                        for (r.s(); !(l = r.n()).done; ) {
                                            var d = l.value;
                                            if ((null == u ? void 0 : u.short_name) === d) {
                                                o = !0;
                                                break;
                                            }
                                        }
                                    } catch (e) {
                                        e = VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.handleException(e);
                                        r.e(e);
                                    } finally {
                                        r.f();
                                    }
                                }
                            } catch (e) {
                                e = VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.handleException(e);
                                a.e(e);
                            } finally {
                                a.f();
                            }
                            if (o) {
                                var s, v = !1, f = (0, c.default)(A.value);
                                try {
                                    for (f.s(); !(s = f.n()).done; ) {
                                        var p, m = s.value, h = (0, c.default)(n);
                                        try {
                                            for (h.s(); !(p = h.n()).done; ) {
                                                var g = p.value;
                                                if ((null == m ? void 0 : m.short_name) === g) {
                                                    v = !0;
                                                    break;
                                                }
                                            }
                                        } catch (e) {
                                            e = VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.handleException(e);
                                            h.e(e);
                                        } finally {
                                            h.f();
                                        }
                                    }
                                } catch (e) {
                                    e = VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.handleException(e);
                                    f.e(e);
                                } finally {
                                    f.f();
                                }
                                if (!v) return (0, C.$toast)({
                                    title: "".concat(n.join("、"), "必须选1个"),
                                    duration: 3e3
                                }), void (N = !0);
                            }
                        }
                    }
                }
                function Je() {
                    (0, _.statistics)("homepage_sameroad_confirm", (0, l.default)((0, l.default)({}, V.value), {}, {
                        vehicle_special_select: W.value.join(",") || "无"
                    }));
                }
                function Ke() {
                    var e, i = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
                    return (null === (e = (0, g.useShowInfo)({
                        index: i,
                        code: h.ShowTextsCode.PEAK_SERVICE_FEE_TEXT
                    })) || void 0 === e ? void 0 : e.text) || "";
                }
                function Xe(e) {
                    return new Promise(function(i) {
                        var t = Fe.value, n = function() {
                            E.isPassivity = t, Ue(B.value, e), i("stop");
                        };
                        (0, g.useCheckIsSelectedUserQuotation)() && !te.value && n(), t && n(), i("goOn");
                    });
                }
                function ze(e) {
                    var i = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                    E.checkDiscussItem = e || {}, (0, g.useBargainTypeInfo)(e), i && (0, _.statistics)("price_choose_type_click", ii({
                        defaultBargainType: e
                    }));
                }
                function Ze(e) {
                    var i;
                    return X.value(e) ? "不议价" : (i = {}, (0, a.default)(i, T.BargainType.telephone, "电话议价"), 
                    (0, a.default)(i, T.BargainType.online, "线上议价"), i)[e.bargainType] || e.bargainTitle;
                }
                function ei(e) {
                    var i, t, n;
                    return e ? Ze(e) : (null === (i = Oe.value) || void 0 === i || null === (t = i.map(function(e) {
                        return Ze(e);
                    })) || void 0 === t || null === (n = t.filter(function(e) {
                        return !!e;
                    })) || void 0 === n ? void 0 : n.join(",")) || "";
                }
                function ii(e) {
                    var i = e.type, t = void 0 === i ? "click" : i, n = e.defaultBargainType, o = (0, 
                    l.default)((0, l.default)({}, V.value), {}, {
                        car_type: ne.value(),
                        price_calculate_id: b.priceCalculateId.value,
                        price_choose_type: ei(n)
                    });
                    return "expo" === t && (o.price_choose_default_type = ei()), o;
                }
                (0, u.watch)(function() {
                    return b.calcPriceInfo.value;
                }, function(e) {
                    E.startVal = (0, r.fenToYuan)(e.original), E.endVal = (0, r.fenToYuan)(e.total);
                }, {
                    immediate: !0
                }), (0, u.watch)(function() {
                    return pe.value;
                }, function(e) {
                    e.price && e.secondPrice && e.price > e.secondPrice && (E.priceActive = !0);
                }, {
                    immediate: !0
                }), (0, u.watch)(function() {
                    return b.allCalculatInfo.value;
                }, function() {
                    e.getStorageSync(y.COMMON.CLEAR_HOME_CHECKED_PRICE_ITEM_ID_ONECE_FOR_USERQUOTATION) || 0 || (0, 
                    r.isEmpty)(we.value()) || !M.value || (I.default.commit("setState", {
                        homeCheckedPriceItemId: 0
                    }), e.setStorage({
                        key: y.COMMON.CLEAR_HOME_CHECKED_PRICE_ITEM_ID_ONECE_FOR_USERQUOTATION,
                        data: 1
                    }));
                }, {
                    immediate: !0
                }), (0, u.watch)(function() {
                    return Re.value;
                }, function(e) {
                    var i = e.exposedBargainTypes;
                    w("get-checked-bargain-type"), (0, u.nextTick)(function() {
                        ze(S.defaultBargainType, !1);
                    }), i && !E.hasNotExpoPriceChooseType && setTimeout(function() {
                        E.hasNotExpoPriceChooseType || (E.hasNotExpoPriceChooseType = !0, (0, u.nextTick)(function() {
                            (0, g.useCheckIsSelectedUserQuotation)() && (0, _.statistics)("price_choose_type_expo", ii({
                                type: "expo",
                                defaultBargainType: S.defaultBargainType
                            }));
                        }));
                    }, 0);
                }, {
                    immediate: !0
                });
                var ti = {
                    getInputPrice: function() {
                        return te.value;
                    },
                    handleSelectedNoPriceUserQuotation: Xe,
                    handleExposedSa: function() {
                        E.hasNotExpoPriceChooseType = !1;
                    },
                    isMultiPrice: ie,
                    multiPriceList: ce
                };
                return (0, u.onBeforeMount)(function() {
                    w("loaded", ti);
                }), Object.assign({
                    calcImg: p.calculating,
                    PriceDetailClickType: T.PriceDetailClickType,
                    hideTopAD: x.hideTopAD,
                    styles: n,
                    data: E,
                    homeCheckedPriceItemId: M,
                    bigVehicleModule: j,
                    withoutCompleteOrderAndSmallCarCache: G,
                    isShowRefrigeratedTime: K,
                    failTitle: z,
                    failButton: Z,
                    priceBoxHeight: ee,
                    isMultiPrice: ie,
                    inputPrice: te,
                    multiPriceList: ce,
                    tipsCouponText: le,
                    tipsCouponList: ue,
                    price: de,
                    secondPrice: se,
                    original: ve,
                    reserveTime: fe,
                    isShowFooterTips: ge,
                    checkUseTimeNotNow: Pe,
                    getSinglePriceTag: Te,
                    userQuotationPlaceholder: ye,
                    hitDoubleOnePrice: be,
                    hitBargainingVehicleRecommended: Se,
                    bargainTypes: Oe,
                    exposedBargainTypes: ke,
                    bargainActiveBgLeft: Ne,
                    canIShowPricingCard: Ae,
                    onInputClick: function(e) {
                        De(e), E.isPassivity = !1, Ue(e), (0, _.statistics)("homepage_sameroad_price_click", (0, 
                        l.default)((0, l.default)((0, l.default)({}, V.value), oe.value), {}, {
                            module_name: te.value > 0 ? "修改出价" : "我来出价"
                        }));
                    },
                    onPriceItemClick: function(e) {
                        var i, t;
                        if (null != e && null !== (i = e.disableInfo) && void 0 !== i && i.isDisabled) return (0, 
                        C.$toast)({
                            title: null == e || null === (t = e.disableInfo) || void 0 === t ? void 0 : t.disabledToast,
                            nowrap: !0
                        }), void Be(e);
                        if (De(e), "input" !== (null == e ? void 0 : e.type)) ; else {
                            var n = Fe.value;
                            te.value && !n || (E.isPassivity = n, Ue(e));
                        }
                    },
                    goOrder: Me,
                    goAllOrder: function() {
                        if (S.calculating || S.calculateFail) (0, f.watchdogPercentFail)(f.WatchdogPercent.homeUseCarNow, {
                            type: "subAllScribe",
                            reason: S.calculating ? "calculating" : "calculateFail"
                        }); else {
                            if (Y.value && !ie.value) return Me();
                            He(), We(), Ge();
                        }
                    },
                    subAllScribe: Qe,
                    subscribe: je,
                    goPriceDetail: function(e) {
                        if (be.value) {
                            if (e === T.PriceDetailClickType.normal && !E.priceActive) return qe(o.detailClick, {
                                module_name: "原价"
                            }), void w("go-detail");
                            if (e === T.PriceDetailClickType.secondPrice && E.priceActive) return qe(o.detailClick, {
                                module_name: "特惠顺路"
                            }), void w("go-detail", e);
                        }
                        e !== T.PriceDetailClickType.detail && e !== T.PriceDetailClickType.quotation || qe(o.detailClick, {
                            module_name: "价格明细"
                        }), w("go-detail", e);
                    },
                    handleRefresh: Ve,
                    selectPrice: function(e) {
                        E.priceActive = e;
                    },
                    handleDiscussItemClick: ze,
                    refrigeratedNext: function() {
                        Je(), Qe(Pe.value ? 2 : 1);
                    }
                }, ti);
            }, S.components = Object.assign({
                Transition: function() {
                    t.e("components/transition/transition").then(function() {
                        return resolve(t("2e81"));
                    }.bind(null, t)).catch(t.oe);
                },
                FailRefresh: function() {
                    t.e("pages/home/components/fail-refresh/index").then(function() {
                        return resolve(t("66c7"));
                    }.bind(null, t)).catch(t.oe);
                },
                hCheckbox: function() {
                    t.e("components/h-checkbox/index").then(function() {
                        return resolve(t("45cc"));
                    }.bind(null, t)).catch(t.oe);
                },
                countTo: function() {
                    Promise.all([ t.e("common/vendor"), t.e("components/count-to/index") ]).then(function() {
                        return resolve(t("5683"));
                    }.bind(null, t)).catch(t.oe);
                }
            }, S.components);
            var w = S;
            i.default = w;
        }).call(this, t("543d").default);
    },
    c85e: function(e, i, t) {},
    cacf: function(e, i, t) {
        t.d(i, "b", function() {
            return o;
        }), t.d(i, "c", function() {
            return a;
        }), t.d(i, "a", function() {
            return n;
        });
        var n = {
            transition: function() {
                return t.e("components/transition/transition").then(t.bind(null, "2e81"));
            }
        }, o = function() {
            var e = this, i = (e.$createElement, e._self._c, e.tipsCouponText(0)), t = e.reserveTime(0), n = e.tipsCouponText(0), o = n ? e.tipsCouponText(0) : null, a = e.tipsCouponText(0), c = e.reserveTime(1), l = e.tipsCouponText(1), u = l ? e.tipsCouponText(1) : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    m0: i,
                    m1: t,
                    m2: n,
                    m3: o,
                    m4: a,
                    m5: c,
                    m6: l,
                    m7: u
                }
            });
        }, a = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/home-price/index-create-component", {
    "pages/home/components/home-price/index-create-component": function(e, i, t) {
        t("543d").createComponent(t("5bf7"));
    }
}, [ [ "pages/home/components/home-price/index-create-component" ] ] ]);